<include file="./Application/Home/View/Public/header.html" />
<!--index.start-->
<div class="line">
    <div class="x6 x3-move">
        <div class="panel border-sub">
    <div class="panel-head  border-sub bg-sub">
        <strong>留言板</strong>
    </div>
    <div class="panel-body">
        <empty name="ly">
            <div class="alert alert-yellow">
                <span class="close rotate-hover"></span><strong>提示：</strong>还没有留言哦</div>
            <else />
            <volist name="ly" id="vo">
                <div class="media media-x">
                    <a class="float-left" href="#">
                        <img src="__ROOT__/Public/images/tou.png" width="70px"height="70px" class="radius" alt="...">
                    </a>
                    <div class="media-body">
                        <strong><{$vo.name}></strong>
                        <div class="panel  border-mix bg-back">
                            <div class="panel-body">
                                <{$vo.content}>
                            </div>
                            <br>
                            <div class="button-toolbar float-right margin-top">
                                <div class="button-group button-group-little border-blue-light check">
                                    <button type="button" class="button bg-red-light">
                                        <eq name="vo['zt']" value="1">已读<else/>未读</eq>
                                    </button>
                                    <button type="button" class="button">
                                        <{$vo.time|date='Y-m-d',###}></button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </volist>
            <div class="panel-group text-center margin">
                <{$page}>

            </div>
        </empty>
        <button class="button button-big bg-main dialogs" data-toggle="click" data-target="#mydialog" data-mask="1" data-width="50%">
            我要留言</button>
        <div id="mydialog">
            <div class="dialog">
                <div class="dialog-head">
                    <span class="close rotate-hover"></span><strong>我要留言</strong>
                </div>
                <div class="dialog-body">
                    <form action="__URL__/doly"method="post">
                        <div class="form">
                            <div class="label">
                                <label for="username">
                                    姓名：</label>
                            </div>
                            <div class="field">
                                <input type="text" class="input input-auto" name="name" size="30" placeholder="姓名" />
                            </div>
                            <div class="label">
                                <label for="username">
                                    QQ号：</label>
                            </div>
                            <div class="field">
                                <input type="text" class="input input-auto"name="qq" size="30" placeholder="QQ号" />
                            </div>
                            <div class="label">
                                <label for="readme">
                                    内容</label>
                            </div>
                            <div class="field">
                                <textarea class="input" name="content" rows="5" cols="50" placeholder="留言内容"></textarea>
                            </div>
                        </div>
                        <div class="dialog-foot">
                            <input type="submit"class="button bg-green" value="留言">
                        </div>
                    </form>
                </div>
    </div>
        </div>
    </div>
    </div>
    </div>
</div>

</div>
<include file="./Application/Home/View/Public/footer.html" />